module.exports = function ($scope, obj, $modalInstance) {

    console.log(obj);

    $scope.obj = obj;

    $scope.cancel = function () {
        $modalInstance.dismiss('cancel');
    };

};